import java.io.*;
import java.util.Scanner;

public class Demo2 {
    public static void main(String[] args) throws IOException {
        //InputStream inputStream = new FileInputStream("D:/test.txt");
        /*OutputStream outputStream = new FileOutputStream("D:/test.txt",true);

        Writer writer = new FileWriter("D:/test.txt",true);
        writer.fl*/
        /*try(InputStream inputStream = new FileInputStream("D:/test.txt")) {
            Scanner scanner = new Scanner(inputStream);
            String s = scanner.next();
        }*/

        try(OutputStream outputStream = new FileOutputStream("D:/test.txt",true)) {
            PrintWriter printWriter = new PrintWriter(outputStream);
            printWriter.println();
        }

    }
}
